There are 6 components of LangChain
In LangChain, "models" are the core interfaces through which you interact with AI models.
you can use any model and code of the code doesn't change much.
there are basically two type of models
Models in Langchain is a interface which solve to make easy to commnucate with every major models.
There are differents types of prompts:
Chains in LangChain is a function from which we make pipeline we can make from a simple sequential chain to the complex one. example Parallel chain or a conditional chain where we put conditions like user input etc.
Indexes connect your application to external knowledge - such as PDFs, websites or databases.
there are mainly four types of indexes:
we know that llm api calls are stateless and every API calls is independent
So langchain has a memory component to deal or remember previous memory. there are different types of memory:
Chat-bots have